package com.ssy.lingxi.order.model.dto;

import org.springframework.util.StringUtils;

import java.io.Serializable;

/**
 * 查询会员Logo返回
 * @author 万宁
 * @version 2.0.0
 * @date 2021-10-25
 */
public class MemberLogoDTO implements Serializable {
    private static final long serialVersionUID = 6656401926555870535L;

    public MemberLogoDTO(Long memberId) {
        this.memberId = memberId;
        this.memberName = "";
        this.logo = "";
    }

    public MemberLogoDTO(Long memberId, String memberName, String logo) {
        this.memberId = memberId;
        this.memberName = memberName;
        this.logo = StringUtils.hasLength(logo) ? logo : "";
    }

    /**
     * 会员Id
     */
    private Long memberId;

    /**
     * 会员名称
     */
    private String memberName;

    /**
     * 会员Logo
     */
    private String logo;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
}
